#ifndef DRAW_RESULT_H
#define DRAW_RESULT_H

#include"main.h"
#include"ground_data.h"
#include"pipe_data.h"

class DrawResult {
 public:
  DrawResult(GroundData* GroundData_, PipeData* PipeData_);
  void Draw();
  void DrawPipe(void);
  void DrawGround(void);
  void DrawPartition(void);
  int window_size_x;
  int window_size_y;
  float coef_x;
  float coef_y;
  float min_temperature;
  float max_temperature;
  int partition_width;
  GroundData* GroundData_;
  PipeData* PipeData_;
  void DrawFillRestangle(float left, float top, float right, float bottom, int r, int g, int b);
};

extern DrawResult* DrawResult_;

#endif